/**
 * MyBooking.java
 */
package com.prs.crm.domain.meeting;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.hr.Person;

/**
 * @author ZhuDongMei
 * @E-mail:1223984339@qq.com
 * @qq:1223984339
 * @version 创建时间：2011-3-16 上午11:12:28 简单说明
 */
@Entity
@Table(name="meet_booking")
public class MyBooking extends BaseEntity {

	/**
	 * 我的预订
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 预订编号
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /**
	 * 预订会议室
	 */
    @ManyToOne
    private MeetRoom meetRoom;
    
    /**
	 * 开始时间
	 */
    private Date startTime;
    /**
	 * 结束时间
	 */
    private Date endTime;
    /**
	 * 会议议题
	 */
    private String name;
    /**
	 * 与会人员
	 */
    private String people;
    /**
	 * 与会人员编号
	 */
    private String peopleId;
    /**
	 * 会议资源
	 */
	private String source;
	/**
	 * 会议资源编号
	 */
	private String sourceId;
	/**
	 * 预订状态
	 */
	private String bookingState;
	private String state;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getBookingState() {
		return bookingState;
	}
	public void setBookingState(String bookingState) {
		this.bookingState = bookingState;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public MeetRoom getMeetRoom() {
		return meetRoom;
	}
	public void setMeetRoom(MeetRoom meetRoom) {
		this.meetRoom = meetRoom;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPeople() {
		return people;
	}
	public void setPeople(String people) {
		this.people = people;
	}
	public String getPeopleId() {
		return peopleId;
	}
	public void setPeopleId(String peopleId) {
		this.peopleId = peopleId;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getSourceId() {
		return sourceId;
	}
	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}
	
}
